// Copyright(c) 2011 Matthew McMullan, Jorel Lalicki and Mike Heise, Jorel Lalicki and Mike Heise. See copying.txt for details.

#ifndef __agml_vector_stream_h__
#define __agml_vector_stream_h__

// make sure that this file is never included directly
#ifndef __agml_agml_h__
#error "Include AGML from agml.h only. This file is not a valid entry point for the library."
#endif

using std::ostream;

namespace agml {
	template<typename t, u32 Size>
	ostream &operator<<(ostream &out, const vstatic<t,Size> &data) {
		out << "{ ";
		for (u32_fast i = 0; i < Size-1; ++i) {
			out << data.data[i] << ", ";
		}
		out << data.data[Size-1] << " }";
		return out;
	}
}

#endif
